{template mobile_header}

<div style="padding: 0px 10px 0px 10px;">
    {loop $the_orders $orders}
    <div class="panel panel-info">
        <div class="panel-body">
            <table class="table">
                <tr>
                    <td>收货人：{$orders['member']['name']}</td>
                    <td>下单时间：{$orders['day']}</td>
                </tr>
                <tr>
                    <td>总件数：{$orders['total_numbers']}件</td>
                    <td>总运费：￥{$orders['total_freight']}</td>
                </tr>
                <tr>
                    <td>代付款：￥{$orders['total_gen']}</td>
                    <td>总费用：￥{$orders['total']}</td>
                </tr>

                <!--<tr>-->
                    <!--<td>已支付：￥2122.00</td>-->
                    <!--<td>待支付：￥00.00</td>-->
                <!--</tr>-->
                <tr>
                    <td colspan="2">
                        货物
                        <div class="panel panel-warning">
                            <div class="panel-body">
                                <div class="col-xs-4">商品</div>
                                <div class="col-xs-4">数量</div>
                                <div class="col-xs-4">运费</div>
                                {loop $orders['goods'] $goods}
                                <div class="col-xs-4">{$goods['name']}</div>
                                <div class="col-xs-4">{$goods['numbers']}{$goods['u_name']}</div>
                                <div class="col-xs-4">￥{$goods['freight']}</div>
                                {/loop}

                                <div class="col-xs-12" align="right" >总运费：￥{$orders['total_freight']}</div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
            <div align="center">
                {if $orders['member']['phone']}
                <a href="tel:{$orders['member']['phone']}">
                    <button class="btn btn-success"><span class="glyphicon glyphicon-earphone"></span>&nbsp;联系收货方</button>

                </a>
                {/if}
                <!--<button class="btn btn-success"><span class="glyphicon glyphicon-earphone"></span>&nbsp;联系收款员</button>-->
            </div>
        </div>
    </div>
    {/loop}
    {$pager}
</div>
{template 'footer'}